package com.wnxy.sdd.mapper;

import com.wnxy.sdd.entity.Course;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wnxy.sdd.model.vo.CoursePublishVo;

import java.util.List;

/**
 * <p>
 * 课程 Mapper 接口
 * </p>
 *
 * @author Jet
 * @since 2023-06-19
 */
public interface CourseMapper extends BaseMapper<Course> {

    /**
     * 根据课程ID查询课程、培训师、课程类别信息
     */
    CoursePublishVo findCoursePublish(String courseId);
}
